﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace Setup
{
    public class AppSetup : ApplicationSettingsBase
    {
        private static AppSetup instance = null;

        public static AppSetup Instance
        {
            get
            {
                if (instance == null)
                {
                    instance = new AppSetup();
                }
                return instance;
            }
        }

        [UserScopedSetting()]
        //[DefaultSettingValue("C:\\Users\\")]
        public String VideoPlayer
        {
            get
            {
                return ((String)this["VideoPlayer"]);
            }
            set
            {
                this["VideoPlayer"] = (String)value;
            }
        }

        [UserScopedSetting()]
        [DefaultSettingValue("C:\\")]
        public String VideoPlayerLoacationDefault
        {
            get
            {
                return ((String)this["VideoPlayerLoacationDefault"]);
            }
            set
            {
                this["VideoPlayerLoacationDefault"] = (String)value;
            }
        }
    }
}

